import safeActivitiesTpl from './safeActivities.html';
import safeActivitiesCtrl from './safeActivities.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('disclosures', {
      parent: 'index',
      url: '/safeActivity/disclosures/:orgId', // ['disclosures', 'trainings', 'meetings',]
      templateUrl: safeActivitiesTpl,
      controller: safeActivitiesCtrl,
      controllerAs: 'vm',
    })
    .state('trainings', {
      parent: 'index',
      url: '/safeActivity/trainings/:orgId', // ['disclosures', 'trainings', 'meetings',]
      templateUrl: safeActivitiesTpl,
      controller: safeActivitiesCtrl,
      controllerAs: 'vm',
    })
    .state('meetings', {
      parent: 'index',
      url: '/safeActivity/meetings/:orgId', // ['disclosures', 'trainings', 'meetings',]
      templateUrl: safeActivitiesTpl,
      controller: safeActivitiesCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
